package com.power.mapper;

import com.power.domain.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.Set;

/**
* @author 123
* @description 针对表【sys_menu(菜单管理)】的数据库操作Mapper
* @createDate 2024-07-10 15:12:14
* @Entity com.power.domain.SysMenu
*/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {

    /**
     * 根据用户ID查询菜单列表
     * @param loginUserId 用户ID
     * @return 菜单列表
     */
    Set<SysMenu> queryUserMenuListByUserId(Long loginUserId);
}




